package com.cplh.sharding.demo.mapper;

import com.cplh.sharding.demo.entry.Orders;
import com.cplh.zhdata.sharding.annotation.DsSelector;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author: kangzhijin
 * @since: 2022/10/11
 * @version: 1.0
 * @description:
 **/
public interface OrdersMapper {
    @DsSelector("db0")
    int saveOrders(Orders order) ;
    @DsSelector("db0")
    List<Orders> queryOrders(@Param("params") Map<String, Object> params) ;

}
